package com.ctg.itrdc.imageconsole.data.dto;

import java.io.Serializable;

import com.ctg.itrdc.imageconsole.data.entity.DockerServerWarn;

public class DockerServerWarnDTO extends BaseDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5115139732995455255L;

	private Long id;

	/**
	 * 告警内容
	 */
	private String content;

	/**
	 * 告警级别
	 */
	private String level;

	/**
	 * 告警状态
	 */
	private String state;

	/**
	 * 告警时间
	 */
	private String warnTime;

	
	private String tenantCode;
	
	private String levelName;
	
	private String stateName;
	
	private String startTime;
	
	private String endTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getWarnTime() {
		return warnTime;
	}

	public void setWarnTime(String warnTime) {
		this.warnTime = warnTime;
	}

	

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public DockerServerWarnDTO() {}
	
	public DockerServerWarnDTO(DockerServerWarn dockerServerWarn) {
		this.id = dockerServerWarn.getId();
		this.content = dockerServerWarn.getContent();
		this.level = dockerServerWarn.getLevel();
		this.state = dockerServerWarn.getState();
		this.warnTime = dockerServerWarn.getWarnTime();
		this.tenantCode = dockerServerWarn.getTenantCode();
		super.setCreateTime(dockerServerWarn.getCreateTime());
		super.setCreateUserId(dockerServerWarn.getCreateUserId());
		super.setLastUpdateTime(dockerServerWarn.getLastUpdateTime());
		super.setLastUpdateUserId(dockerServerWarn.getLastUpdateUserId());
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}
	
}
